package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.we
 * @since 2024-06-02
 */
@Getter
@Setter
@TableName("an_attach_file")
@ApiModel(value = "AnAttachFile对象", description = "")
public class AnAttachFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "file_id", type = IdType.AUTO)
    private Long fileId;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件类型")
    private String fileType;

    @ApiModelProperty("文件大小")
    private Integer fileSize;

    @ApiModelProperty("上传时间")
    private Date uploadTime;

    @ApiModelProperty("文件关联的表主键id")
    private Long fileJoinId;

    @ApiModelProperty("文件关联表类型：1 商品表  FileJoinType")
    private Byte fileJoinType;
}
